using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml;
using System.Xml.Serialization;

namespace Rdl
{

    [Serializable]
    [DesignerCategory("code")]
    [XmlRoot(Namespace = "http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition", IsNullable = false)]
    [GeneratedCode("xsd", "2.0.50727.42")]
    [DebuggerStepThrough]
    [XmlType(AnonymousType = true)]
    public class Report
    {

        private XmlAttribute[] anyAttrField;
        private ItemsChoiceType37[] itemsElementNameField;
        private object[] itemsField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return anyAttrField;
            }
            set
            {
                anyAttrField = value;
            }
        }

        [XmlElement("AutoRefresh", typeof(System.UInt32))]
        [XmlAnyElement]
        [XmlElement("Author", typeof(System.String))]
        [XmlElement("BottomMargin", typeof(System.String), DataType = "normalizedString")]
        [XmlElement("PageFooter", typeof(Rdl.PageHeaderFooterType))]
        [XmlElement("Body", typeof(Rdl.BodyType))]
        [XmlElement("Code", typeof(System.String))]
        [XmlElement("CodeModules", typeof(Rdl.CodeModulesType))]
        [XmlElement("CustomProperties", typeof(Rdl.CustomPropertiesType))]
        [XmlElement("DataElementName", typeof(System.String))]
        [XmlElement("DataElementStyle", typeof(Rdl.ReportDataElementStyle))]
        [XmlElement("DataSchema", typeof(System.String))]
        [XmlElement("DataTransform", typeof(System.String))]
        [XmlElement("RightMargin", typeof(System.String), DataType = "normalizedString")]
        [XmlElement("Description", typeof(System.String))]
        [XmlElement("DataSources", typeof(Rdl.DataSourcesType))]
        [XmlElement("EmbeddedImages", typeof(Rdl.EmbeddedImagesType))]
        [XmlElement("InteractiveHeight", typeof(System.String), DataType = "normalizedString")]
        [XmlElement("InteractiveWidth", typeof(System.String), DataType = "normalizedString")]
        [XmlElement("Language", typeof(System.String))]
        [XmlElement("Classes", typeof(Rdl.ClassesType))]
        [XmlElement("PageHeight", typeof(System.String), DataType = "normalizedString")]
        [XmlElement("PageWidth", typeof(System.String), DataType = "normalizedString")]
        [XmlElement("ReportParameters", typeof(Rdl.ReportParametersType))]
        [XmlElement("DataSets", typeof(Rdl.DataSetsType))]
        [XmlElement("TopMargin", typeof(System.String), DataType = "normalizedString")]
        [XmlChoiceIdentifier("ItemsElementName")]
        [XmlElement("LeftMargin", typeof(System.String), DataType = "normalizedString")]
        [XmlElement("PageHeader", typeof(Rdl.PageHeaderFooterType))]
        [XmlElement("Width", typeof(System.String), DataType = "normalizedString")]
        public object[] Items
        {
            get
            {
                return itemsField;
            }
            set
            {
                itemsField = value;
            }
        }

        [XmlElement("ItemsElementName")]
        [XmlIgnore]
        public ItemsChoiceType37[] ItemsElementName
        {
            get
            {
                return itemsElementNameField;
            }
            set
            {
                itemsElementNameField = value;
            }
        }

        public Report()
        {
        }

    } // class Report

}

